<div class="card-footer bg-transparent">
    <div class="d-flex justify-content-between align-items-center">
        <div>
            <a asp-action="Edit" asp-route-id="@Model.Id" class="btn btn-primary">
                <i class="fas fa-edit me-1"></i>编辑
            </a>
            <a asp-action="Index" class="btn btn-secondary">
                <i class="fas fa-arrow-left me-1"></i>返回列表
            </a>
        </div>
        <div>
            <div class="btn-group">
                <button type="button" class="btn btn-outline-primary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
                    <i class="fas fa-download me-1"></i>导出
                </button>
                <ul class="dropdown-menu">
                    <li><a class="dropdown-item" asp-action="Export" asp-route-id="@Model.Id" asp-route-format="pdf">
                        <i class="fas fa-file-pdf me-1"></i>导出为PDF
                    </a></li>
                    <li><a class="dropdown-item" asp-action="Export" asp-route-id="@Model.Id" asp-route-format="excel">
                        <i class="fas fa-file-excel me-1"></i>导出为Excel
                    </a></li>
                </ul>
            </div>
        </div>
    </div>
</div> 